﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" codefile="SlideImg.vb" Inherits="NVPortal.Modules.NVNews.SlideImg" %>

<%--<script type="text/javascript" src="http://workshop.rs/projects/coin-slider/jquery-1.4.2.min.js"></script>--%>
<script type="text/javascript" src="/DesktopModules/NV_News/Display/Special/DisplayControl/Slide/coin-slider.js"></script>
<link rel="stylesheet" href="/DesktopModules/NV_News/Display/Special/DisplayControl/Slide/styles.css" type="text/css" /> 
<link rel="stylesheet" href="/DesktopModules/NV_News/Display/Special/DisplayControl/Slide/coin-slider-styles.css" type="text/css" />


<div id="page">
	<div id="gamesHolder">
		<div id="games">
    <asp:Repeater runat="server" ID="repArticle">
        <ItemTemplate>
            <a href="<%# FormatURL(DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>">
                <img Width='300px' src='<%# iif(DataBinder.Eval(Container, "DataItem.imagepathhot").tostring().Contains("http://"),DataBinder.Eval(Container, "DataItem.imagepathhot"), DataBinder.Eval(Container, "DataItem.imagepathhot")) %>' title='<%# Server.HtmlDecode(DataBinder.Eval(Container.DataItem,"Title"))%>' />
                <span>
					<%# DataBinder.Eval(Container.DataItem,"title")%>
				</span>
        </a>
        </ItemTemplate>
    </asp:Repeater>
</div>
	</div>
</div>
<script>    $(document).ready(function () {
        $('#games').coinslider({ hoverPause: false });
    });
</script>